# Contributor: Leon Marz <main@lmarz.org>
# Maintainer: Leon Marz <main@lmarz.org>
pkgname=robin-map
pkgver=1.0.1
pkgrel=0
pkgdesc="C++ implementation of a fast hash map"
url="https://github.com/Tessil/robin-map"
arch="noarch"
license="MIT"
makedepends="cmake"
source="$pkgname-$pkgver.tar.gz::https://github.com/Tessil/robin-map/archive/v$pkgver.tar.gz"
options="!check" # no testsuite provided

build() {
	cmake -B build \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_DATADIR=lib \
		-DCMAKE_BUILD_TYPE=None
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
5741049287fdb9c3316e1eb84b99343efc7b35f492e1db8166d65c2d16c7905f51b11cf164bedae9e44d4b6000bbea3c49012acf725a977e665a8dc23e89b1fb  robin-map-1.0.1.tar.gz
"
